var testData3 = {
	storeId:'00001',
	storeName:'店铺1',
	residual:'200.00',
	records:[
		{
			id:'record000',
			type:'0001',
			storeName:'店铺11',
			gameName:'游戏1',
			date:'2017-01-01 09:09:09',
			sum:35,
		},
		{
			id:'record001',
			type:'0002',
			storeName:'店铺12',
			gameName:'游戏2',
			date:'2017-01-01 09:09:09',
			sum:35,
		},
		{
			id:'record002',
			type:'0001',
			storeName:'店铺1',
			gameName:'游戏2',
			date:'2017-01-01 09:09:09',
			sum:60,
		},
	]
}

function gameList (testData3){	
	console.log(testData3);
		$("#gameBox").setTemplateElement("gamelistBox");
		$("#gameBox").processTemplate(testData3);
		
}

gameList (testData3);